You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
<script lang="ts" context="module">
|
|
import Column from "$lib/components/layout/Column.svelte";
|
|
import Columns from "$lib/components/layout/Columns.svelte";
|
|
|
|
import Row from "$lib/components/layout/Row.svelte";
|
|
|
|
import type { Load } from "@sveltejs/kit/types/internal";
|
|
|
|
export const load: Load = async({}) => {
|
|
return {
|
|
props: {}
|
|
};
|
|
}
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
import { getScopeContext } from "$lib/components/contexts/ScopeContext.svelte";
|
|
import Option from "$lib/components/layout/Option.svelte";
|
|
import OptionsRow from "$lib/components/layout/OptionsRow.svelte";
|
|
import StatSubSection from "$lib/components/scope/StatSubSection.svelte";
|
|
import DeletionModal from "$lib/modals/DeletionModal.svelte";
|
|
import StatCreateEditModal from "$lib/modals/StatCreateEditModal.svelte";
|
|
|
|
const {scope} = getScopeContext();
|
|
</script>
|
|
|
|
<Columns wide>
|
|
<Column>
|
|
<Row title="Schedule">
|
|
</Row>
|
|
<Row title="Today">
|
|
</Row>
|
|
</Column>
|
|
<Column>
|
|
<Row title="Sprints">
|
|
</Row>
|
|
<Row title="Stats">
|
|
<OptionsRow slot="right">
|
|
<Option open={{name: "stat.create"}}>Create</Option>
|
|
</OptionsRow>
|
|
{#each $scope.stats as stat (stat.id)}
|
|
<StatSubSection stat={stat} />
|
|
{/each}
|
|
</Row>
|
|
</Column>
|
|
</Columns>
|
|
|
|
<StatCreateEditModal />
|
|
<DeletionModal />
|